package com.bootdo.system.service.impl;

import com.bootdo.system.dao.BizhongDao;
import com.bootdo.system.domain.BizhongDO;
import com.bootdo.system.service.BizhongService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class BizhongServiceImpl implements BizhongService {
	@Autowired
	private BizhongDao bizhongDao;
	
	@Override
	public BizhongDO get(Integer id){
		return bizhongDao.get(id);
	}
	
	@Override
	public List<BizhongDO> list(Map<String, Object> map){
		return bizhongDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return bizhongDao.count(map);
	}
	
	@Override
	public int save(BizhongDO bizhong){
		return bizhongDao.save(bizhong);
	}
	
	@Override
	public int update(BizhongDO bizhong){
		return bizhongDao.update(bizhong);
	}
	
	@Override
	public int remove(Integer id){


		return bizhongDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){

		return bizhongDao.batchRemove(ids);
	}

    @Override
    public List<BizhongDO> qian3() {
        return bizhongDao.qian3();
    }

    @Override
    public List<BizhongDO> listwithKeyword(String keyword) {

		return bizhongDao.listwithKeyword( keyword);
    }

}
